Skip to content

2026.7.0 - #668

Merged
MarcelGeo merged 35 commits into
masterfrom
develop
Aug 27, 2026
Merged

2026.7.0#668
MarcelGeo merged 35 commits into
masterfrom
develop

Conversation

@MarcelGeo

Copy link
Copy Markdown
Collaborator

No description provided.

varmar05 and others added 30 commits June 17, 2026 15:07
 - `load_user` now returns None for inactive users, so their session cookies are rejected by Flask-Login
 - @auth_required adds `is_active` check
 - anonymize() now explicitly sets active=False for defence-in-depth
Existing passwords will be rehashed organically if needed.
… mimetype check -> mime_type config var is not needed
…ypes

Support for whitelisting extensions/mimetype
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Send email notification with self-service unlock link on account lockout
- failed_login_attempts counter replaced by LoginHistory.count_recent_failures()
  over a configurable LOCKOUT_WINDOW, so old failures age out instead of
  persisting indefinitely until a successful login
- LoginHistory now records every login attempt, successful and failed
  (including from the DB-sync client), instead of only successes
- index migration split out and built CONCURRENTLY so it doesn't hold a
  write-blocking lock on login_history for the duration of the build
- login form shows a dedicated message on AccountLocked instead of the
  raw backend error text

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Call dummy bcrypt hashing if necessary.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
varmar05 and others added 4 commits August 25, 2026 09:53
@MarcelGeo
MarcelGeo requested a review from varmar05 August 27, 2026 11:04
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 33066350092

Coverage increased (+0.2%) to 92.35%

Details

  • Coverage increased (+0.2%) from the base build.
  • Patch coverage: 7 uncovered changes across 3 files (362 of 369 lines covered, 98.1%).
  • 4 coverage regressions across 2 files.

Uncovered Changes

File Changed Covered %
server/mergin/app.py 3 0 0.0%
server/mergin/auth/models.py 55 52 94.55%
server/mergin/auth/app.py 58 57 98.28%
Total (9 files) 369 362 98.1%

Coverage Regressions

4 previously-covered lines in 2 files lost coverage.

File Lines Losing Coverage Coverage
server/mergin/celery.py 3 68.0%
server/mergin/auth/app.py 1 96.88%

Coverage Stats

Coverage Status
Relevant Lines: 10379
Covered Lines: 9585
Line Coverage: 92.35%
Coverage Strength: 0.92 hits per line

💛 - Coveralls

@MarcelGeo
MarcelGeo merged commit ca6afe9 into master Aug 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants